Any small short-lived gnat of various families in the order Diptera, feeding on fungi or decaying plant matter.